

import { action, computed, observable } from "mobx"
class Data {
  @observable userInfo = null
  @observable userList = []
  @observable xuekeList = []
  @observable banjiList = []


  @action changeUserInfo = (payload) => {
    this.userInfo = { ...this.userInfo, ...payload }
  }
  @action changeUserList = (payload) => {
    this.userList = payload
  }
  @action changexuekeList = (payload) => {
    this.xuekeList = payload
  }
  @action changebanjiList = (payload) => {
    this.banjiList = payload
  }
}

export const mbdata = new Data();